package com.gong.reggie.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gong.reggie.entity.AddressBook;
import com.gong.reggie.mapper.AddressBookMapper;
import com.gong.reggie.service.AddressBookService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AddressBookServiceImpl extends ServiceImpl<AddressBookMapper, AddressBook> implements AddressBookService {

    @Override
    public void deleteByIds(List<Long> ids) {
        for (Long id : ids) {
            this.removeById(id);
        }

    }
}